include($$PWD/../common.pri)


QT       += core gui
CONFIG += c++11
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets


TEMPLATE = lib
DESTDIR = $${BIN_LIB_DIR}

DEFINES += SPDLOG_COMPILED_LIB #定义此宏将构建库

INCLUDEPATH += $$PWD/include/ \

SOURCES += \
    src/async.cpp \
    src/bundled_fmtlib_format.cpp \
    src/cfg.cpp \
    src/color_sinks.cpp \
    src/file_sinks.cpp \
    src/spdlog.cpp \
    src/stdout_sinks.cpp

DISTFILES += \
    include/spdlog/fmt/bundled/fmt.license.rst

